const internal/chacha8rand.ctrInc
7 uses
internal/chacha8rand (current package)
chacha8.go#L23: ctrInc = 4 // increment counter by 4 between block calls
chacha8.go#L86: s.c += ctrInc
chacha8.go#L104: if s.c == ctrMax-ctrInc {
chacha8.go#L136: used := (s.c/ctrInc)*chunk + s.i
chacha8.go#L156: if used > (ctrMax/ctrInc)*chunk-reseed {
chacha8.go#L162: s.c = ctrInc * (uint32(used) / chunk)
chacha8.go#L166: if s.c == ctrMax-ctrInc {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |